package com.hiwhitley.himei.contract;

import com.hiwhitley.himei.entity.FindMore;
import com.hiwhitley.himei.mvpframe.BaseModel;
import com.hiwhitley.himei.mvpframe.BasePresenter;
import com.hiwhitley.himei.mvpframe.BaseView;

import java.util.List;

import rx.Observable;

/**
 * Created by hiwhitley on 2016/9/24.
 */

public interface FindMoreContract {

    interface  Model extends BaseModel{
        Observable<List<FindMore>> getFindMores(String url);
    }

    interface View extends BaseView {
       void showFindMoreView(List<FindMore> moreList);
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void loadFindMore(String url);
    }

}
